import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css';
import 'element-plus/lib/locale/lang/zh-cn'
import App from './App.vue'
import router from './router/index'
import store from './store'
import './permission.js'
// 因为css
import '@/styles/index.scss' // global css
import 'vite-plugin-svg-icons/register';
import svgIcon from '@/components/SvgIcon/index.vue' 



let app = createApp(App)

app.use(router)

app.use(store)

app.use(ElementPlus)

app.component('svg-icon', svgIcon)

app.mount('#app')
